import socket
port=9001
s = socket.socket(socket.AF_INET,socket.SOCK_DGRAM)
s.bind(('',port))
print "waitting for connet!"
while True:
	data,addr = s.recvfrom(1024)
	print "Received:",data,"from",addr